package org.ben.birthday.twentybirthday.service;

import org.ben.birthday.twentybirthday.entity.BackgroundMusic;

/**
 * @Author: Ben
 * @Date: 2019/8/8 13:59
 */
public interface IBackGroundMusicService {
    /**
     * 增加背景音乐IService
     * @param backgroundMusic
     * @return boolean
     */
    boolean insertBackgroundMusicService(BackgroundMusic backgroundMusic);

    /**
     * 删除背景音乐IService
     * @param backGroundMusicId
     * @param musicUrl
     * @return boolean
     */
    boolean deleteBackgroundMusicService(Integer backGroundMusicId,String musicUrl);

    /**
     * 更改背景音乐IService
     * @param backgroundMusic
     * @return boolean
     */
    boolean updateBackgroundMusicService(BackgroundMusic backgroundMusic);

    /**
     *根据backGroundMusicId查询背景音乐信息IService
     * @param backGroundMusicId
     * @return BackgroundMusic
     */
    BackgroundMusic selectBackgroundMusicService(Integer backGroundMusicId);
}
